<!DOCTYPE html>
<html>
<head>
    <title>Contact</title>
    <script type="text/javascript" src="js/lib/jquery.min.js"></script>
    <script type="text/javascript" src="js/logger.js"></script>
    <script type="text/javascript" src="js/lib/underscore.js"></script>
    <script type="text/javascript" src="js/templates.js"></script>
    <script type="text/javascript" src="js/main.js"></script>

    <link rel="stylesheet" href="style/stylesheet.css">
</head>
<body>
    <div class="main">
        <div id="logo"></div>
        <div id="header"></div>

        <hr/>

        <div id="contact">
            <form action="">
                <h4>Please feel free to leave a message</h4>
                <p>
                    <label for="email">Email </label>
                    <input type="email" name="email" id="email"/>
                </p>
                <p>
                    <label for="name">Name </label>
                    <input type="text" name="name" id="name"/>
                </p>
                <p>
                    <label for="message">Message</label>
                    <textarea cols="40" rows="5" name="message" id="message"></textarea>
                </p>
                <p>
                    <input type="submit" value="Submit">
                </p>
            </form>
        </div>
    </div>
    <script type="text/javascript">
        window.onload = function() {
            Site.loadTemplate("div#logo", t_logo);
            Site.loadTemplate("div#header", t_header);

            $("#contact form").submit(Site.contact);

            logger.debug("Document loaded");
        }
    </script>
</body>
</html>